03. Working with an Array

Working with an Array

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

Video Correction: At 2:00, Jessica incorrectly says that we initialize the 10th index to be the value 4. The 10th index in Option 3 is actually set as the value 1.

Resources

Gist for 4 options of code in quiz.

If you would like another resource to reference for the correct way to create and initialize an array, check out this article.